    package org.fly.dao;

    import org.fly.bean.SupplierProduct;
    import org.fly.bean.query.SupplierProductQuery;
    import org.apache.ibatis.annotations.Param;
    import org.springframework.stereotype.Repository;

    import java.util.List;

    /**
    * Created by autoCode on 2018-02-07 16:53:26.
    */
    @Repository
    public interface SupplierProductDao {

    List<SupplierProduct> list(SupplierProductQuery query);

    long count(SupplierProductQuery query);

    void  insert(SupplierProduct data);

    void update(SupplierProduct data);

    SupplierProduct findById(String id);

    void delete(String id);

    List<SupplierProduct> listByIds(@Param(value = "ids") List<String> ids);


}
